﻿package mapper;

import bean.*;

import java.util.ArrayList;
import java.util.List;
import java.util.Stack;

public interface UserMapper {
	List<Integer> findUserByCompanyId(int CompanyId);
   List<Integer> findAllCompanyId();
    void sendMessage(Company company);
     List<CompanyContext> reciveMessage(int companyId);
   List<Company> findAllMessage(int userId);
    void changeState(int contentId);
   void changeUser(int contentId);
  Integer timer(String liveBroadcastTime);
        UserInfo findAll();//锟矫碉拷锟矫伙拷锟斤拷锟斤拷锟斤拷锟斤拷息锟斤拷

   void InsertUser(UserInfo ui);//锟斤拷锟斤拷锟矫伙拷锟侥碉拷录锟斤拷息锟斤拷

    List<CompanyInfo> findAllCompany();//锟矫碉拷锟斤拷锟叫的癸拷司锟斤拷息

    CompanyInfo findCompanyId(Integer companyId); //锟斤拷一锟斤拷companyId锟斤拷锟矫碉拷一锟斤拷锟斤拷司锟斤拷锟斤拷钥

    ScoreInfo findAllScore(ScoreInfo si);//锟矫碉拷锟矫伙拷锟侥成硷拷

    StudygroupnumberInfo findStudygroupnumber(StudygroupnumberInfo si);//锟矫碉拷学锟斤拷锟斤拷

    List<CourseInfo> findAllCourse(CourseInfo ci);//锟矫碉拷一锟斤拷锟矫伙拷锟侥课筹拷锟斤拷息

    Stack<TrainingItemBankInfo> findAllTrainingItemBankInfo(Integer examId);//锟矫碉拷通锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷械锟斤拷锟斤拷锟�

    void InsertAnswer(AnswerCardInfo answerCardInfo);  //锟斤拷锟斤拷锟矫伙拷锟侥答案ｏ拷

    List<CourseUserList> findAllUserCourse(Integer usersId);//锟斤拷询锟斤拷锟斤拷 锟斤拷 锟轿筹拷

    ExamInfo findAllExam(Integer examId);  //锟矫碉拷锟斤拷锟叫的匡拷锟斤拷锟斤拷息
CourseInfo findAllCourseId(int courseId);  //得到一个课程的一些信息
    
    UserInfo findPasswd(int usersId);
    int changePasswd (UserInfo ui);
    void changeAvatarPath(UserInfo ui);
    List<Integer> findstudyGroupNumber(int usersId);
    List<Integer> findcourseId(int studyGroupNumber);
    List<Integer> findexamId(int courseId);
    List<scoreInfo> findmassage(int examId);
    void setRank(rank rank);
    List<String> findstudyName(studyGroupNumber stn);
    List<String> findexamName(int examId);
    List<scoreInfo> findScore(int usersId);
}
